[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants
authorAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 25 Jul 2025 05:16:52 +0000 (08:16 +0300)
committerNoah Meyerhans <noahm@debian.org>
Tue, 31 Mar 2026 19:07:17 +0000 (15:07 -0400)
commit81da9675eac077cbe34c90d49794b32e68294b2c
treee3712fb1a5de64c6c0cdfba403d5a230d4ed54f1
parent7636ba89a8aa6fa0483f2ebe643c090e863f9ca4
[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants

Fixes cache key issue where users would end up overwriting
each other in cache due to cache key being essentially static
string because we no longer support %u.

Forgotten in 2e298e7ee98b6df61cf85117f000290d60a473b8

Gbp-Pq: Name auth__Use_AUTH_CACHE_KEY_USER_instead_of_per-database.patch
src/auth/auth-settings.h
src/auth/passdb-bsdauth.c
src/auth/passdb-oauth2.c
src/auth/passdb-pam.c
src/auth/passdb-passwd.c
src/auth/userdb-passwd.c